package com.ieheima004;

public class Teacher extends Person {

    public Teacher() {
    }

    public Teacher(String name, int age) {
        super(name, age);
    }

    public void show() {
        System.out.println("老师"+getName());
    }
}
